﻿using System;
using System.Collections.Generic;

namespace Models.Models;

/// <summary>
/// 用户留言/问答
/// </summary>
public partial class SAnswer
{
    /// <summary>
    /// 自增id
    /// </summary>
    public uint Id { get; set; }

    /// <summary>
    /// 用户id
    /// </summary>
    public uint UserId { get; set; }

    /// <summary>
    /// 联系人
    /// </summary>
    public string Name { get; set; } = null!;

    /// <summary>
    /// 联系电话
    /// </summary>
    public string Tel { get; set; } = null!;

    /// <summary>
    /// 标题
    /// </summary>
    public string Title { get; set; } = null!;

    /// <summary>
    /// 详细内容
    /// </summary>
    public string? Content { get; set; }

    /// <summary>
    /// 回复内容
    /// </summary>
    public string? Reply { get; set; }

    /// <summary>
    /// 是否已回复（0否, 1是）
    /// </summary>
    public byte IsReply { get; set; }

    /// <summary>
    /// 回复时间
    /// </summary>
    public uint ReplyTime { get; set; }

    /// <summary>
    /// 是否显示（0不显示, 1显示）
    /// </summary>
    public byte IsShow { get; set; }

    /// <summary>
    /// 访问次数
    /// </summary>
    public uint AccessCount { get; set; }

    /// <summary>
    /// 是否已删除（0否, 大于0删除时间）
    /// </summary>
    public uint IsDeleteTime { get; set; }

    /// <summary>
    /// 添加时间
    /// </summary>
    public uint AddTime { get; set; }

    /// <summary>
    /// 更新时间
    /// </summary>
    public uint UpdTime { get; set; }
}
